package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 门店附件表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("shop_attachment")
@ApiModel(value = "ShopAttachment对象", description = "门店附件表")
public class ShopAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "shop_attachment_id", type = IdType.AUTO)
    private Integer shopAttachmentId;

    @ApiModelProperty("原文件名")
    private String oldFile;

    @ApiModelProperty("现文件名")
    private String newFile;

    @ApiModelProperty("大小")
    private Long size;

    @ApiModelProperty("文件路径")
    private String filePath;

    @ApiModelProperty("文件后缀")
    private String fileSuffix;

    @ApiModelProperty("关联商品id")
    private Integer shopId;

    public Integer getShopAttachmentId() {
        return shopAttachmentId;
    }

    public void setShopAttachmentId(Integer shopAttachmentId) {
        this.shopAttachmentId = shopAttachmentId;
    }

    public String getOldFile() {
        return oldFile;
    }

    public void setOldFile(String oldFile) {
        this.oldFile = oldFile;
    }

    public String getNewFile() {
        return newFile;
    }

    public void setNewFile(String newFile) {
        this.newFile = newFile;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFileSuffix() {
        return fileSuffix;
    }

    public void setFileSuffix(String fileSuffix) {
        this.fileSuffix = fileSuffix;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    @Override
    public String toString() {
        return "ShopAttachment{" +
        "shopAttachmentId = " + shopAttachmentId +
        ", oldFile = " + oldFile +
        ", newFile = " + newFile +
        ", size = " + size +
        ", filePath = " + filePath +
        ", fileSuffix = " + fileSuffix +
        ", shopId = " + shopId +
        "}";
    }
}
